package gov.ccswj.modules.bdbusiness.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import gov.ccswj.modules.bdbusiness.dao.AZhishikuPolicyDao;
import gov.ccswj.modules.bdbusiness.entity.AZhishikuPolicyEntity;
import gov.ccswj.modules.bdbusiness.service.AZhishikuPolicyService;



@Service("aZhishikuPolicyService")
public class AZhishikuPolicyServiceImpl implements AZhishikuPolicyService {
	@Autowired
	private AZhishikuPolicyDao aZhishikuPolicyDao;
	
	@Override
	public AZhishikuPolicyEntity queryObject(Integer id){
		return aZhishikuPolicyDao.queryObject(id);
	}
	
	@Override
	public List<AZhishikuPolicyEntity> queryList(Map<String, Object> map){
		return aZhishikuPolicyDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return aZhishikuPolicyDao.queryTotal(map);
	}
	
	@Override
	public void save(AZhishikuPolicyEntity aZhishikuPolicy){
		aZhishikuPolicyDao.save(aZhishikuPolicy);
	}
	
	@Override
	public void update(AZhishikuPolicyEntity aZhishikuPolicy){
		aZhishikuPolicyDao.update(aZhishikuPolicy);
	}
	
	@Override
	public void delete(Integer id){
		aZhishikuPolicyDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		aZhishikuPolicyDao.deleteBatch(ids);
	}
	
}
